Skip to content

[codex] Add AGY debugger provider and tmux mouse defaults#211

Open
bookandlover wants to merge 2 commits into
SeemSeam:mainfrom
bookandlover:codex/agy-debugger-provider
Open

[codex] Add AGY debugger provider and tmux mouse defaults#211
bookandlover wants to merge 2 commits into
SeemSeam:mainfrom
bookandlover:codex/agy-debugger-provider

Conversation

@bookandlover

@bookandlover bookandlover commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add an agy provider backend for pane-backed debugger sessions, including manifest, launcher, and session binding support.
  • Register AGY in the provider registry, start command resolution, session pathing, and zombie cleanup paths.
  • Enable project-namespace tmux interactive defaults (mouse on, vi copy-mode keys, larger history) so four-pane CCB sessions support mouse pane selection and scrollback after startup.
  • Cover AGY catalog/runtime behavior plus tmux namespace policy defaults with regression tests.

Why

The debugger role should launch through Google Antigravity CLI (agy) instead of reusing the Gemini provider. AGY also needs a first-class provider entry so CCB can validate debugger:agy layouts and start the debugger pane consistently.

The updated project namespace path starts tmux with -f /dev/null, so it does not inherit config/tmux-ccb.conf. Without explicitly applying interactive defaults, the new four-pane session starts with mouse off and mode-keys emacs, forcing users to switch panes with prefix o and preventing normal mouse scrollback.

Google Antigravity CLI docs note that launch flags can override settings, including --dangerously-skip-permissions: https://antigravity.google/docs/cli-using

Validation

  • uvx pytest test/test_v2_project_namespace_backend.py test/test_v2_project_namespace_state.py test/test_v2_tmux_start_layout.py test/test_v2_provider_core_registry.py test/test_v2_provider_catalog.py test/test_v2_runtime_launch.py -q -> 109 passed in 17.10s
  • python3 -m compileall -q lib ccb bin -> exit 0
  • Current project tmux options after hotfix: mouse on, mode-keys vi, history-limit 50000

Notes

This PR adds pane-backed startup/session support for AGY. It does not add a full provider execution adapter, so protocol-level ccb ask debugger support can be handled separately if maintainers want AGY ask completion semantics beyond visible tmux pane startup.

@bookandlover bookandlover changed the title [codex] Add AGY debugger provider backend [codex] Add AGY debugger provider and tmux mouse defaults May 21, 2026
@SeemSeam

Copy link
Copy Markdown
Owner

mouse bug 已经修复了 ,我考虑下新provider

@SeemSeam

Copy link
Copy Markdown
Owner

please change to the latest version and pull a new pr

@SeemSeam SeemSeam marked this pull request as ready for review May 22, 2026 09:47
SeemSeam pushed a commit that referenced this pull request Jun 1, 2026


Picks up the four `lib/provider_backends/agy/` files from
@bookandlover's PR #211 (init / launcher / manifest / session), drops
the mouse-default hunks already merged via #212, and rebases onto
v7.1.1.

Step 1 of multi-step grafting:
- Register `agy` in builtin_backends + runtime_shared
- Updates catalog + core_registry tests (agy in OPTIONAL_PROVIDER_NAMES)
- `execution_adapter=None` for now: pane-backed startup only, no
  `ccb ask cc-agy` routing yet (follow-up commit will add adapter)

Test:
  uvx --with pyyaml pytest test/test_v2_provider_catalog.py
  test/test_v2_provider_core_registry.py -v
  -> 8/8 passed

Credits: continues PR #211 by @bookandlover.
SeemSeam pushed a commit that referenced this pull request Jun 1, 2026
- AGY_START_CMD respects env override + falls back to bare `agy`
- agy launcher injects --dangerously-skip-permissions when
  auto_permission=True
- agy launcher uses --continue when restoring a session

Cherry-picked from PR #211 (agy-only hunks).
nquq700488 pushed a commit to nquq700488/claude_code_bridge that referenced this pull request Jun 1, 2026
Resolved conflicts in builtin_backends.py and runtime_shared.py
to keep kimi and mmx providers alongside the new agy (Antigravity).

Upstream changes:
- feat(provider): add agy (Google Antigravity CLI) backend (SeemSeam#211)
- test(provider): cover agy env override + yolo/continue start args
- docs: list agy/antigravity in supported providers
- Cleanup: remove webhook import from bootstrap.py
- Cleanup: delete various documentation files
- Revert job heartbeat intervals from 120s to 600s

Our changes preserved:
- Kimi/mx providers kept in optional provider list
- All local fixes (webhook, pane-foreign, Kimi wire, ccb restart)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants